﻿using MediatR;
using SmartMedicalCare.Domain;
using SmartMedicalCare.ErronCode;

namespace SmartMedicalCare.API.Read.Applications.Commands
{
    public class QueryHospitalCommand:IRequest<APIResult<APIPaging<HospitalModel>>>
    {
        public string? Name { get; set; }
        /// <summary>
        /// 所在地区
        /// </summary>
        public string? HospitalAddTow { get; set; }
        
        /// <summary>
        /// 当前页
        /// </summary>
        public int Pagindex { get; set; }
        /// <summary>
        /// 页容量
        /// </summary>
        public int Pagsize { get; set; }
    }
}
